<?php
/**
 * DESC: 规格名
 * 作者:晨光
 * EMAIL:461718846@qq.com
 * DATE:2020-06-01
 */

namespace app\common\model;


use think\Model;

class GoodsFormatName extends Model
{
    public static function getList(){
//        获取超级管理员添加的数据
        $where = [];
        $adminIds = Admin::getSuperAdminId(session('admin.id'));
        $where['admin_id'] = ['in',implode(',',$adminIds)];
        $data = self::where($where)->select();
        return $data;
    }
}
